home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
misc~1
/
2
/
copyf.doc
< prev
next >
Wrap
Text File
|
1985-11-19
|
2KB
|
56 lines
RAMDISK
=======
Documentation for the files:
RAM.S
COPY.S
COPY.PRG
RAM360.PRG
RAM512.PRG
The latter two files are assembled versions of the program RAM.S
The program RAM.S is a small assembler program that installes a RAM drive
on your 1 MEG ST. The program searches the global variable _drvbits for an
unassigned drive and installs the ram disk as this drive. On my ST this is
C: but if you have a hard disk that might be D: or even higher. To install
the ram read/write routines I have used the hard disk drive chain which is
not NULL as stated by theguide, instead I have found that every routine that
takes this hooks has to jmp through the old contents if it is not responsible
for the drive requested ( the initial contents of these locations point to
the ST floppy disk I/O routines ).
To get the ram disk filled upon boot, I use the program COPY.S, which opens
a file named FILE.LST and copies files from the current disk to a destination
disk. This program contains no error messages and silently aborts on any odd
result code from TOS. The layout of FILE.LST is as follows :
C:
A.BAT
AS68.PRG
AS68SYMB.DAT
BATCH.TTP
ED.PRG
LINK68.PRG
RELMOD.PRG
RM.PRG
WAIT.PRG
L.BAT
AL.BAT
The top line is the destination drive for the files that follow ( it _must_
be the _top_ line ).
To create an automatic startup disk, copy the files RAMxxx.PRG and COPY.PRG
into a folder named AUTO ( in that order ! ) and your FILE.LST into the
ROOT directory of your boot disk.
If you wish to change the size of the ramdisk, change the label blocks to
the desired value ( in 1k units ) and reassemble. If you are curious, you
may also change the .bss size in the executable file header directly.
enjoy,
Jens-Uwe Mager
Engelboster Damm 45
D-3000 Hannover
West Germany
əəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəə